package com.dt76.smallloanfrontenduser.pojo.xiaohao;


import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

@Component
public class BorrowOrder implements Serializable {

    private long boId;
    private long uId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date oCreateTime;
    private String oWantedMoney;
    private String oRepayMode;
    private long oLoanTime;
    private long pId;
    private String lType;
    private long cId;
    private String boType;
    private String bankId;

    private Xuser xuser;
    private HLoanProducts hLoanProduct;

    public Xuser getUser() {
        return xuser;
    }

    public void setUser(Xuser xuser) {
        this.xuser = xuser;
    }

    public HLoanProducts gethLoanProduct() {
        return hLoanProduct;
    }

    public void sethLoanProduct(HLoanProducts hLoanProduct) {
        this.hLoanProduct = hLoanProduct;
    }

    public long getBoId() {
        return boId;
    }

    public void setBoId(long boId) {
        this.boId = boId;
    }

    public long getuId() {
        return uId;
    }

    public void setuId(long uId) {
        this.uId = uId;
    }

    public Date getoCreateTime() {
        return oCreateTime;
    }

    public void setoCreateTime(Date oCreateTime) {
        this.oCreateTime = oCreateTime;
    }

    public String getoWantedMoney() {
        return oWantedMoney;
    }

    public void setoWantedMoney(String oWantedMoney) {
        this.oWantedMoney = oWantedMoney;
    }

    public String getoRepayMode() {
        return oRepayMode;
    }

    public void setoRepayMode(String oRepayMode) {
        this.oRepayMode = oRepayMode;
    }

    public long getoLoanTime() {
        return oLoanTime;
    }

    public void setoLoanTime(long oLoanTime) {
        this.oLoanTime = oLoanTime;
    }

    public long getpId() {
        return pId;
    }

    public void setpId(long pId) {
        this.pId = pId;
    }

    public String getlType() {
        return lType;
    }

    public void setlType(String lType) {
        this.lType = lType;
    }

    public long getcId() {
        return cId;
    }

    public void setcId(long cId) {
        this.cId = cId;
    }

    public String getBoType() {
        return boType;
    }

    public void setBoType(String boType) {
        this.boType = boType;
    }

    public String getBankId() {
        return bankId;
    }

    public void setBankId(String bankId) {
        this.bankId = bankId;
    }

    @Override
    public String toString() {
        return "BorrowOrder{" +
                "boId=" + boId +
                ", uId=" + uId +
                ", oCreateTime=" + oCreateTime +
                ", oWantedMoney='" + oWantedMoney + '\'' +
                ", oRepayMode='" + oRepayMode + '\'' +
                ", oLoanTime=" + oLoanTime +
                ", pId=" + pId +
                ", lType='" + lType + '\'' +
                ", cId=" + cId +
                ", boType='" + boType + '\'' +
                ", bankId='" + bankId + '\'' +
                ", xuser=" + xuser +
                ", hLoanProduct=" + hLoanProduct +
                '}';
    }
}
